package com.chushouya.product.dto.partner.brand;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * @author CodeGenerator
 * @data 2022/05/29.
 */
@ApiModel("品牌查询")
@Data
public class BrandPartnerApiQuery{
    @NotNull(message = "产品分类ID不能为空")
    @Range(min = 100000,max =100099, message = "取值范围100000-100099")
    @ApiModelProperty("分类ID")
    private Long categoryId;

    @ApiModelProperty("页码")
    private Integer page;

    @ApiModelProperty("每页数量")
    private Integer size;
}
